how to pass id to modal in asp.net mvc

41

how to pass id to modal in asp.net mvc -

 <td><button type="button" class="btn btn-warning" data-toggle="modal" data-target="#Modalpopup" data-whatever="@item.Id">Editar</button></td>

Comments

Submit
0 Comments